package cn.oveay.classdesign.dao;

import cn.oveay.classdesign.bean.basebean.Subject;

import java.util.List;

public interface SubjectDao {
    List<Subject> findAll();
    List<Subject> findByUserId(String userId);
    Subject findById(String id);
    List<Subject> findByKey(String key);
    void inseart(Subject option);
    void update(Subject subject);
    void delete(String id);
}
